<template>
  <a-card :bordered="false">
    <div class="card-title">{{ $route.meta.title }}</div>
    <div class="table-operator">
      <a-descriptions title="经销商个人业绩">
        <a-descriptions-item label="个人销售额">
          {{detail.expend_money}}
        </a-descriptions-item>
        <a-descriptions-item label="销售提成">
          {{detail.award_money}}
        </a-descriptions-item>
      </a-descriptions>
      <a-descriptions title="经销商团队业绩">
        <a-descriptions-item label="团队销售额">
          {{detail.total_expend_money}}
        </a-descriptions-item>
        <a-descriptions-item label="团队人数">
          {{detail.pcount}}
        </a-descriptions-item>
      </a-descriptions>
    </div>
  </a-card>
</template>

<script>
import * as Api from '@/api/market/wine/award'

export default {
  name: "PerformInfo",
  data(){
    return {
      id:0,
      detail:{}
    }
  },
  created() {
    this.id = this.$route.query.id
    Api.getAward({id:this.id})
    .then(res=>{
      this.detail = res.data.detail
    })
  }
}
</script>

<style scoped>

</style>